projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f88b68
)
Fix an off-by-one error in serial range handling
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 22 Sep 2010 01:10:15 +0000
(21:10 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 22 Sep 2010 01:10:15 +0000
(21:10 -0400)
trap->end_sequence is the first serial for which we don't
ignore errors anymore, so we know the trap is dead if
end_sequence <= processed_serial.
Bug 629608
gdk/x11/gdkdisplay-x11.c
patch
|
blob
|
history
diff --git
a/gdk/x11/gdkdisplay-x11.c
b/gdk/x11/gdkdisplay-x11.c
index f15da8b80c6a53db301470ec0fe17f4425fb8359..4c07fefbfbed17b6898ced674c4d16aa9c9bc835 100644
(file)
--- a/
gdk/x11/gdkdisplay-x11.c
+++ b/
gdk/x11/gdkdisplay-x11.c
@@
-2772,7
+2772,7
@@
delete_outdated_error_traps (GdkDisplayX11 *display_x11)
GdkErrorTrap *trap = tmp_list->data;
if (trap->end_sequence != 0 &&
- SEQUENCE_COMPARE (trap->end_sequence, <, processed_sequence))
+ SEQUENCE_COMPARE (trap->end_sequence, <
=
, processed_sequence))
{
GSList *free_me = tmp_list;